package com.ctmy.system.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.ctmy.system.domain.SysUser;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 用户表 数据层
 * 
 * @author ruoyi
 */
@Service
public interface SysUserMapper extends BaseMapper<SysUser>
{
    /**
     * 根据条件分页查询用户对象
     * 
     * @param user 用户信息
     * @return 用户信息集合信息
     */
    List<SysUser> selectAll(Page<SysUser> pageInfo);


    SysUser selectById(String userid);

}
